﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimplePackageAndDeployer.Core
{
    public enum ActionGroupType : uint
    {
        Package = 0,
        Deploy = 1
    }

    public class ActionGroup : BaseDataObject
    {
        public ActionGroup()
        {
        }

        public ActionGroup(ActionGroupType pActionGroupType, string pName, string pDescription)
        {
            this.DataObjectGUID = Guid.NewGuid();
            this.ActionGroupType = pActionGroupType;
            this.Name = pName;
            this.Description = pDescription;
        }

        public string Name { get; set; }
        public string Description { get; set; }
        public ActionGroupType ActionGroupType { get; set; }
        public List<ActionOrder> ActionOrderList { get; set; }
        public List<ActionBase> ActionList { get; set; }
        public List<ActionHistory> ActionHistoryList { get; set; }
    }
}
